﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Micronet.OpenWeb.Com.BLL;
using Micronet.OpenWeb.Com.Controls;
using Micronet.OpenWeb.Utils;

namespace Micronet.OpenWeb.OpenWeb.Admin.Views.Shared
{
    public partial class ForumPostThanksAdmin : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            ForumPostThanksAdminGrid.ItemCommand += new Telerik.Web.UI.GridCommandEventHandler(ForumPostThanksAdminGrid_ItemCommand);
        }

        void ForumPostThanksAdminGrid_ItemCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
        {
            if (e.CommandName == "InitInsert")
            {
                Response.Redirect("../Site/ForumPostThanksEdit.aspx");
            }
        }
    }
}